package com.paddyi.model;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 *  (Account)
 * @author paddy
 * @since  2019-08-09 12:00:53
 */
@ApiModel(value="Account对象", description="")
public class Account implements Serializable {

    private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "")
	private Long id;
	@ApiModelProperty(value = "")
	private Long userId;
	@ApiModelProperty(value = "用户余额")
	private BigDecimal balance;
	@ApiModelProperty(value = "冻结金额，扣款暂存余额")
	private BigDecimal freezeAmount;
	@ApiModelProperty(value = "")
	private java.util.Date createTime;
	@ApiModelProperty(value = "")
	private java.util.Date updateTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public BigDecimal getFreezeAmount() {
		return freezeAmount;
	}

	public void setFreezeAmount(BigDecimal freezeAmount) {
		this.freezeAmount = freezeAmount;
	}

	public java.util.Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}

	public java.util.Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(java.util.Date updateTime) {
		this.updateTime = updateTime;
	}

}